home *** CD-ROM | disk | FTP | other *** search
/ Aminet 40 / Aminet 40 (2000)(Schatztruhe)[!][Dec 2000].iso / Aminet / hard / hack / TestGear1.lha / TestGear1 / Project3 / Info < prev    next >
Encoding:
Text File  |  2000-09-24  |  6.6 KB  |  160 lines

  1.  
  2.                       The SINE/SQUARE Wave Generator.
  3.                       -------------------------------
  4.  
  5.   Technical specifications:-
  6.   --------------------------
  7.  
  8.   Designed frequency range..............   25Hz to 2.5KHz.
  9.   Usable range..........................   10Hz to 3KHz.
  10.   Frequency accuracy....................   + or - 2%.
  11.   Output voltage........................   1280mV Peak to Peak, - 20%.
  12.   Output impedance......................   47 KilOhms.
  13.   Output voltage range..................   0 to maximum level, 20mV steps.
  14.   Sine wave distortion..................   5% or less.
  15.   Square wave rise time.................   10 microseconds or better.
  16.   Hum and Noise.........................   -30dB below fundamental signal.
  17.  
  18.   Note:-
  19.   ------
  20.  
  21.   These specifications apply to a standard A1200 ONLY at 1KHZ, and may NOT
  22.   be exactly the same for an A500, A500+, A600 etc, etc.
  23.  
  24. ----------------------------------------------------------------------------
  25.  
  26.   Keyboard controls:-
  27.   -------------------
  28.  
  29.   The keyboard controls are shown in brackets, for example (q), (Q).
  30.   IF the letter is a capital, then press one of the ~SHIFT~ keys whilst
  31.   pressing the required letter.
  32.  
  33.   (i) This will increase the frequency at the rate of 50Hz per stop.
  34.   (I) This will increase the frequency at the rate of 1Hz per stop.
  35.   (d) This will decrease the frequency at the rate of 50Hz per stop.
  36.   (D) This will decrease the frequency at the rate of 1Hz per stop.
  37.   (o) This will increase the output voltage.
  38.   (O) This will decrease the output voltage.
  39.   (s) This will switch the mode to SINE.
  40.   (S) This will switch the mode to SQUARE.
  41.   (q) or (Q) will exit the program.
  42.  
  43.   The mouse can be used to Quit or move to the background. This is not
  44.   needed for correct operation of the software and can be disconnected
  45.   if running the software from a CLI or SHELL window.
  46.  
  47. ----------------------------------------------------------------------------
  48.  
  49.   Limitations of the computer:-
  50.   -----------------------------
  51.  
  52.   The specifications of this generator are poor compared to a professional
  53.   piece of test gear, this is due to the AMIGA's hardware. However I have
  54.   worked around these limitations to a great extent to get the most out of
  55.   the audio hardware. The two main limitations to consider are ALIASING and
  56.   audio amplifier BANDWIDTH. Although it was possible to generate a low
  57.   level SINE wave to approximately 10KHz it was suffering badly with these
  58.   two constraints. The audio amplifier's BANDWIDTH is approximately 7KHz.
  59.  
  60.   ALIASING is the effect of sum and difference frequencies generated by the
  61.   hardware between the sampled waveform and sampling frequency. To reduce
  62.   this problem the sampled waveform must be sampled at more than twice the
  63.   frequency of the waveform itself plus 7KHz for the AMIGA's audio bandwidth.
  64.  
  65.   For example:-
  66.   -------------
  67.  
  68.   Sampled frequency = 1Khz.
  69.   Sampling frequency = 7Khz.
  70.   Sum of the two frequencies = 7+1 = 8KHz.
  71.   Difference of the two frequencies = 7-1 = 6KHz.
  72.  
  73.   The 8Khz frequency is outside of the audio amplifier's bandwidth and so
  74.   will not be passed through.
  75.   However the 6Khz frequency will pass through as it is inside the audio
  76.   amplifier's bandwidth.
  77.   So to eliminate both we must add 7KHz to the sampling frequency, which
  78.   means that the new sampling rate to produce a ~CLEAN~ waveform would be
  79.   7+7 = 14KHz. Now both the sum and the difference frequencies are out of
  80.   the audio bandwidth.
  81.  
  82.   BANDWIDTH is the highest frequency that can be passed by the amplifier.
  83.   Thus the effect of the filtering required to try to reduce the ALIASING
  84.   errors effectively reduces the output of the higher frequencies.
  85.   Once lost these high frequency components cannot be retreived.
  86.  
  87.   Because this program was written with both NTSC and PAL systems in mind
  88.   the frequency generated is a compromise between both. So therefore the
  89.   accuracy is not quite as good as it could be. However this should not be
  90.   a problem.
  91.  
  92. ----------------------------------------------------------------------------
  93.  
  94.                        Construction of the test lead.
  95.                        ------------------------------
  96.  
  97.   Parts required:-
  98.   ----------------
  99.  
  100.   1) A length of coaxial cable approximately 1.5 metres, RG58 or UR76.
  101.   2) A PHONO or RCA plug.
  102.   3) A countersunk head brass screw approximately 1.5" (37mm) long.
  103.   4) A matching nut.
  104.   5) An insulated crocodile clip.
  105.   6) A length of sleeving, (the sleeving off of the coaxial cable will do).
  106.   7) An old ballpoint pen case.
  107.  
  108. ----------------------------------------------------------------------------
  109.  
  110.   Tools required:-
  111.   ----------------
  112.  
  113.   1) Soldering iron.
  114.   2) Solder.
  115.   3) Side cutters.
  116.   4) Pliers.
  117.   5) File.
  118.   6) A hobby saw.
  119.   7) PVC tape.
  120.   8) Superglue, (be very careful with this).
  121.  
  122. ----------------------------------------------------------------------------
  123.  
  124.   Strip at least 6" to 9" of sleeving off of one end of the coaxial cable.
  125.   Do NOT discard this sleeving. Seperate the braid from the inner conductor.
  126.   Solder the inner conductor to the head of the brass countersunk-head screw.
  127.   Double click on the icon ~HardWare~ for additional information. To quit
  128.   the ~HardWare~ screen press any key and the screen will close.
  129.   Place the sleeving over the braiding before fitting the crocodile clip
  130.   and then wrap some PVC tape around the ~Y~ joint of the cable. Solder
  131.   the crocodile clip to the braiding. Dismantle an old ballpoint pen to
  132.   obtain the case. Discard all of the inner parts of the pen.
  133.   Before reassembling the screw into the ballpoint pen case, cut the case
  134.   down to a practical length (approximately 3" to 4"). Fit the PHONO (RCA)
  135.   plug to the other end of the coaxial cable, inner conductor to the pin,
  136.   the braid to the outer part of the plug.
  137.  
  138.   When you have checked this cable and are confident it is electrically good
  139.   use the superglue to seal the top of the pen case and the nut. Do NOT get
  140.   this glue on you or anything else as it is dangerous. Allow time to dry.
  141.  
  142. ----------------------------------------------------------------------------
  143.  
  144.   Starting the Audio Generator:-
  145.   ------------------------------
  146.  
  147.                                *** WARNING ***
  148.  
  149.              DO NOT USE WITH VOLTAGES GREATER THAN 12 VOLTS D.C.
  150.  
  151.   1) Ensure the AMIGA is switched OFF.
  152.   2) Connect the cable to LEFT channel phono socket.
  153.   3) Connect a blank PHONO/RCA plug to the RIGHT channel phono socket.
  154.   4) Switch on the AMIGA.
  155.   5) Start the ~Sin_Square_Gen~ software from its icon.
  156.   6) Connect up to an audio circuit and start testing.
  157.   7) When finished switch OFF the AMIGA and disconnect all of the hardware.
  158.  
  159. ----------------------------------------------------------------------------
  160.